 
package com.xbongbong.saas.domain.dao;

import com.xbongbong.api.domain.entity.ApiCallbackSetEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2019-06-10 17:25:33
*/
@Repository
@Mapper
public interface ApiCallbackSetDao {

	Integer insert(ApiCallbackSetEntity apiCallbackSet);

	Integer update(ApiCallbackSetEntity apiCallbackSet);

	void insertBatch(List<ApiCallbackSetEntity> apiCallbackSetList);
	
	Integer deleteByKey(@Param("key") Integer key, @Param("corpid") String corpid);

	ApiCallbackSetEntity getByKey (@Param("key") Integer key, @Param("corpid") String corpid);

	List<ApiCallbackSetEntity> findEntitys(@Param("param") Map<String, Object> param);

	Integer getEntitysCount(@Param("param") Map<String, Object> param);

	ApiCallbackSetEntity getByCorpid(@Param("corpid") String corpid);
 
}